<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Java API Reference for Android: com.juphoon.cloud.JCAccountCallback Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Java API Reference for Android
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>juphoon</b></li><li class="navelem"><b>cloud</b></li><li class="navelem"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html">JCAccountCallback</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.juphoon.cloud.JCAccountCallback Interface Reference<div class="ingroups"><a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html">账号查询模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a44bfbea301b3b398eca3e7de4c5a66ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#a44bfbea301b3b398eca3e7de4c5a66ce">onQueryUserStatusResult</a> (int operationId, boolean result, List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_item.html">JCAccountItem</a> &gt; accountItemList)</td></tr>
<tr class="separator:a44bfbea301b3b398eca3e7de4c5a66ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8637fa5e968b5214fb69f921438290ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#a8637fa5e968b5214fb69f921438290ef">onQueryServerUidResult</a> (int operationId, boolean result, Map&lt; String, String &gt; resultMap)</td></tr>
<tr class="separator:a8637fa5e968b5214fb69f921438290ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7a12ea6f7f76397892b987d7e0b913"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#a7a7a12ea6f7f76397892b987d7e0b913">onQueryUserIdResult</a> (int operationId, boolean result, Map&lt; String, String &gt; resultMap)</td></tr>
<tr class="separator:a7a7a12ea6f7f76397892b987d7e0b913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9c5c71ef0c9e29b1833f21c732e2029"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#aa9c5c71ef0c9e29b1833f21c732e2029">onRefreshContacts</a> (int operationId, boolean result, List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_contact.html">JCAccountContact</a> &gt; contacts, long updateTime, boolean fullUpdate)</td></tr>
<tr class="separator:aa9c5c71ef0c9e29b1833f21c732e2029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14c84d210a505739af44fc0c562ab050"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#a14c84d210a505739af44fc0c562ab050">onDealContact</a> (int operationId, boolean result, @JCAccount.Reason int reason)</td></tr>
<tr class="separator:a14c84d210a505739af44fc0c562ab050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8417260fcbc60d160c095de3910c45a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#ad8417260fcbc60d160c095de3910c45a">onContactsChange</a> (List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_contact.html">JCAccountContact</a> &gt; contactList)</td></tr>
<tr class="separator:ad8417260fcbc60d160c095de3910c45a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e926e73f073218ca7b842d1f0cdf3dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html#a7e926e73f073218ca7b842d1f0cdf3dd">onSetContactDnd</a> (int operationId, boolean result, @JCAccount.Reason int reason)</td></tr>
<tr class="separator:a7e926e73f073218ca7b842d1f0cdf3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_account_callback.html">JCAccountCallback</a> 回调，用于回调账号查询相关事件 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a44bfbea301b3b398eca3e7de4c5a66ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44bfbea301b3b398eca3e7de4c5a66ce">&#9670;&nbsp;</a></span>onQueryUserStatusResult()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onQueryUserStatusResult </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_item.html">JCAccountItem</a> &gt;&#160;</td>
          <td class="paramname"><em>accountItemList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询账号状态结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作ID, 由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#a0a2820096b1fc10f57cc9d2c33c774d1">queryUserStatus</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>查询是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">accountItemList</td><td>查询结果 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8637fa5e968b5214fb69f921438290ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8637fa5e968b5214fb69f921438290ef">&#9670;&nbsp;</a></span>onQueryServerUidResult()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onQueryServerUidResult </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Map&lt; String, String &gt;&#160;</td>
          <td class="paramname"><em>resultMap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询账号 serverUid 结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作ID, 由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#a9d7f9d9216c178b989b65001bc95834e">queryServerUid</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>查询是否成功 成功但不一定所有查询 userId 都有 serverUid<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">resultMap</td><td>查询结果 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7a7a12ea6f7f76397892b987d7e0b913"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a7a12ea6f7f76397892b987d7e0b913">&#9670;&nbsp;</a></span>onQueryUserIdResult()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onQueryUserIdResult </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Map&lt; String, String &gt;&#160;</td>
          <td class="paramname"><em>resultMap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询账号 userId 结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作ID, 由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#a675203697507d69d3ce4e7c1fbc20a9d">queryUserId</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>查询是否成功 成功但不一定所有查询 serverUid 都有 userId<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">resultMap</td><td>查询结果 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa9c5c71ef0c9e29b1833f21c732e2029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9c5c71ef0c9e29b1833f21c732e2029">&#9670;&nbsp;</a></span>onRefreshContacts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onRefreshContacts </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_contact.html">JCAccountContact</a> &gt;&#160;</td>
          <td class="paramname"><em>contacts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>fullUpdate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询联系人列表结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作ID, 由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#aba7154db5f2f870e0695aa356adfa4cd">refreshContacts</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>刷新是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">contacts</td><td>联系人队列 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">fullUpdate</td><td>是否全更新<ul>
<li>true: 全更新</li>
<li>false: 没有全更新 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a14c84d210a505739af44fc0c562ab050"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14c84d210a505739af44fc0c562ab050">&#9670;&nbsp;</a></span>onDealContact()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onDealContact </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCAccount.Reason int&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理联系人结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作ID，由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#a8f6cf6799c81becdf665817455096f09">dealContact</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>操作是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时有效。参见：<a class="el" href="group__error.html#gad15be006f7c371ebba37e8ba5e867670">错误码</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad8417260fcbc60d160c095de3910c45a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8417260fcbc60d160c095de3910c45a">&#9670;&nbsp;</a></span>onContactsChange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onContactsChange </td>
          <td>(</td>
          <td class="paramtype">List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account_contact.html">JCAccountContact</a> &gt;&#160;</td>
          <td class="paramname"><em>contactList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>服务器联系人变化</p>
<p>调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#aba7154db5f2f870e0695aa356adfa4cd">refreshContacts</a> 会触发此回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contactList</td><td>联系人列表 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7e926e73f073218ca7b842d1f0cdf3dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e926e73f073218ca7b842d1f0cdf3dd">&#9670;&nbsp;</a></span>onSetContactDnd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCAccountCallback.onSetContactDnd </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCAccount.Reason int&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置免打扰回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_account.html#a7ad2385bba18a78e65fb635d5f624ff0">setDnd</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>操作是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时有效，参见：<a class="el" href="group__error.html#gad15be006f7c371ebba37e8ba5e867670">错误码</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>cloud/src/main/account/com/juphoon/cloud/JCAccountCallback.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
